.page {
  width: 100%;
  min-height: 100vh;
  background-color: var(--theme-bg-primary);
  color: var(--theme-text-primary);
  font-family: 'PingFang SC', 'Helvetica Neue', 'Hiragino Sans GB', 'Microsoft YaHei', 'Arial', sans-serif;
  display: flex;
  flex-direction: column;

  .mainContent {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px 0;

    .tabContainer {
      display: flex;
      border-bottom: 1px solid var(--theme-border-primary);
      margin-bottom: 16px;

      .tab {
        flex: 1;
        padding: 8px 0;
        text-align: center;
        background: none;
        border: none;
        color: var(--theme-text-muted);
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s ease;

        &.tabActive {
          color: var(--theme-primary);
          font-weight: 600;
          border-bottom: 2px solid var(--theme-primary);
        }
      }
    }

    .recordList {
      .recordItem {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--theme-border-primary);

        &:last-child {
          border-bottom: none;
        }

        .recordInfo {
          flex: 1;

          .recordTitle {
            font-size: 16px;
            font-weight: 600;
            color: var(--theme-text-primary);
            margin-bottom: 4px;
          }

          .recordTime {
            font-size: 12px;
            color: var(--theme-text-muted);
          }
        }

        .recordAmount {
          font-size: 18px;
          font-weight: bold;
          min-width: 80px;
          text-align: right;

          &.positive {
            color: var(--theme-success);
          }

          &.negative {
            color: var(--theme-error);
          }
        }
      }
    }
  }
}

.noMoreData {
  padding: 16px 0;
  text-align: center;
  color: var(--theme-text-secondary);
  font-size: 14px;
}

// 全局样式覆盖
:global {
  .adm-empty {
    .adm-empty-description {
      color: var(--theme-text-muted) !important;
    }
  }
.recordList{
  .adm-pull-to-refresh {
    .adm-pull-to-refresh-content {
      background-color: var(--theme-bg-primary) !important;
    }
  }
}


  .adm-infinite-scroll {
    color: var(--theme-text-muted) !important;
    font-size: 14px !important;
  }
}